package com.cdks.wuxiu.entity.mysql;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;

/**
 * 钱包信息表
 */
@Data
@TableName("user_wallet_info")
public class UserWalletInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 自增主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 用户id
     */
    @TableField("userId")
    private Long userId;

    /**
     *  心豆余额
     */
    @TableField("bean")
    private Integer bean;

    /**
     * 金币余额
     */
    @TableField("coin")
    private Integer coin;

    /**
     * 总计充值成功金额
     */
    @TableField("rechargeSum")
    private Integer rechargeSum;

    /**
     * 总计充值成功次数
     */
    @TableField("rechargeCnt")
    private Integer rechargeCnt;

    /**
     * 总计提现成功金额
     */
    @TableField("withdrawSum")
    private Integer withdrawSum;

    /**
     * 总计提现成功次数
     */
    @TableField("withdrawCnt")
    private Integer withdrawCnt;

    /**
     * 总计营业收入金额
     */
    @TableField("inworkSum")
    private Integer inworkSum;

    /**
     * 总计非营业收入金额（各种奖励、系统赠送）
     */
    @TableField("unworkSum")
    private Integer unworkSum;

    /**
     * 总计消费金额
     */
    @TableField("expendSum")
    private Integer expendSum;
}
